//
//  QCouponTwoCell.m
//  QoilPublic
//
//  Created by 杨凯 on 2017/3/27.
//  Copyright © 2017年 杨凯. All rights reserved.
//

#import "QCouponTwoCell.h"
@interface QCouponTwoCell ()
@property (weak, nonatomic) IBOutlet UILabel *noticeLab;

@end
@implementation QCouponTwoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setNoticeStr:(NSString *)noticeStr{
    _noticeStr = noticeStr;
    _noticeLab.text = _noticeStr;
}

- (void)setIndexPath:(NSIndexPath *)indexPath{
    if (indexPath.row == 0) {
        _noticeLab.font = [UIFont systemFontOfSize:Ksize16];
        _noticeLab.textColor = [UIColor blackColor];
    }else{
        _noticeLab.font = [UIFont systemFontOfSize:Ksize14];
        _noticeLab.textColor = [QColorUtility defaultBackColor];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
